package design.create.factory_method;



/**
 * @author zxs
 * @since 2020/05/21
 */
public class Factory2 implements IFactory {
    @Override
    public A createA() {
        return new A2();
    }


}
